package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.GoodsStatus;

/**
 * 商品信息
 *
 * @author 贾俊峰
 * @time 2017/6/17 11:07
 */
public class Goods extends Pagination {
    private static final long serialVersionUID = -5145210852984610809L;

    /** 用户ID */
    private Long userId;
    /** 组织ID */
    private Long orgId;
    /** 组织名称 */
    private String orgName;
    /** 商品名称 */
    private String goodsName;
    /** 商品类型 */
    private Long goodsType;
    /** 商品类型名称 */
    private String goodsTypeName;
    /** 商品条形码 */
    private String goodsBarCode;
    /** 商品市场价 */
    private Integer goodsMarketPrice;
    /** 商品销售价 */
    private Integer goodsSellPrice;
    /** 商品结算价 */
    private Integer goodsSettlementPrice;
    /** 商品规格 */
    private String goodsSpec;
    /** 商品单位 */
    private String goodsUnit;
    /** 商品图片 */
    private String goodsImg;
    /** 商品状态 */
    private Integer goodsStatus;
    /**箱规*/
    private String boxSpec;


    // addition
    public String getGoodsStatusStr() {
        return GoodsStatus.getDesc(goodsStatus);
    }

    // =====get/set


    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Long getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Long goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsTypeName() {
        return goodsTypeName;
    }

    public void setGoodsTypeName(String goodsTypeName) {
        this.goodsTypeName = goodsTypeName;
    }

    public String getGoodsBarCode() {
        return goodsBarCode;
    }

    public void setGoodsBarCode(String goodsBarCode) {
        this.goodsBarCode = goodsBarCode;
    }

    public Integer getGoodsMarketPrice() {
        return goodsMarketPrice;
    }

    public void setGoodsMarketPrice(Integer goodsMarketPrice) {
        this.goodsMarketPrice = goodsMarketPrice;
    }

    public Integer getGoodsSellPrice() {
        return goodsSellPrice;
    }

    public void setGoodsSellPrice(Integer goodsSellPrice) {
        this.goodsSellPrice = goodsSellPrice;
    }

    public Integer getGoodsSettlementPrice() {
        return goodsSettlementPrice;
    }

    public void setGoodsSettlementPrice(Integer goodsSettlementPrice) {
        this.goodsSettlementPrice = goodsSettlementPrice;
    }

    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getBoxSpec() {
        return boxSpec;
    }

    public void setBoxSpec(String boxSpec) {
        this.boxSpec = boxSpec;
    }
}
